<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="layui-form timo-compile">
    <form th:action="@{/system/payLog/save}">
        <input type="hidden" name="id" th:if="${payLog}" th:value="${payLog.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">OPENID</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="openid" placeholder="请输入OPENID"
                       th:value="${payLog?.openid}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">物品ID</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="tool_id" placeholder="请输入物品ID"
                       th:value="${payLog?.tool_id}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">素材名称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="tag" placeholder="请输入素材名称"
                       th:value="${payLog?.tag}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">订单号</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="transactionId" placeholder="请输入订单号"
                       th:value="${payLog?.transactionId}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">购买价格（分）</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="price" placeholder="请输入购买价格（分）"
                       th:value="${payLog?.price}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付金额</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="totalFee" placeholder="请输入支付金额"
                       th:value="${payLog?.totalFee}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付状态</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="resultStatus" placeholder="请输入支付状态"
                       th:value="${payLog?.resultStatus}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付结果返回</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="resultCode" placeholder="请输入支付结果返回"
                       th:value="${payLog?.resultCode}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付回调信息返回码</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="returnCode" placeholder="请输入支付回调信息返回码"
                       th:value="${payLog?.returnCode}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"> 返回信息</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="returnData" placeholder="请输入 返回信息"
                       th:value="${payLog?.returnData}">
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>